package zua.program.androidstudioprogram01;

public class Question{
        int score;
        String  Question;
        String answer;
        Boolean isCheck;

        public Question(String question,String answer) {
            this.Question = question;
            this.answer = answer;
            this.score = 1;
            isCheck = false;
        }

        //get 和 set 方法
        public String getQuestion() {
            return Question;
        }
        public void setQuestion(String question) {
            Question = question;
        }
        public String getAnswer() {
            return answer;
        }
        public void setAnswer(String answer) {
            this.answer = answer;
        }
        public int getScore() {
            return score;
        }
        public void setScore(int score) {
            this.score = score;
        }
        public Boolean getCheck() {
            return isCheck;
        }
        public void setCheck(Boolean check) {
            isCheck = check;
        }

}
